
package app.controller.startup
{
    import app.StateConstants;
    import app.controller.aquire.EnteredAquireCmd;
    import app.controller.assembly.EnteredAssemblyCmd;
    import app.controller.display.EnteredDisplayCmd;
    import app.controller.prep.EnteredPreperationCmd;
    
    import org.puremvc.as3.multicore.interfaces.INotification;
    import org.puremvc.as3.multicore.patterns.command.SimpleCommand;

    /**
     * Create and inject the StateMachine.
     */
    public class RegisterStateCmds extends SimpleCommand
    {
        
        override public function execute ( note:INotification ) : void
        {
  		  facade.registerCommand( StateConstants.CHANGED_ASSEMBLY, EnteredAssemblyCmd );
  		  facade.registerCommand( StateConstants.CHANGED_AQUISITION, EnteredAquireCmd );
  		  facade.registerCommand( StateConstants.CHANGED_PREPARATION, EnteredPreperationCmd );
  		  facade.registerCommand( StateConstants.CHANGED_DISPLAY, EnteredDisplayCmd );
        }
    }
}